projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63ea420
)
gtk/gtkcellrenderertext.c changed "weight" property type from
author
Mikael Hermansson
<mikeher@src.gnome.org>
Sun, 30 Sep 2001 04:41:59 +0000
(
04:41
+0000)
committer
Mikael Hermansson
<mikeher@src.gnome.org>
Sun, 30 Sep 2001 04:41:59 +0000
(
04:41
+0000)
* gtk/gtkcellrenderertext.c changed "weight" property type from
g_param_spec_int to g_param_spec_enum.
gtk/gtkcellrenderertext.c
patch
|
blob
|
history
diff --git
a/gtk/gtkcellrenderertext.c
b/gtk/gtkcellrenderertext.c
index 5f7e9626c99b2492929e0586ecf5dd11d520aaa4..7939998405d2eca6cdb44d6b54da2f99bd01188a 100644
(file)
--- a/
gtk/gtkcellrenderertext.c
+++ b/
gtk/gtkcellrenderertext.c
@@
-277,11
+277,10
@@
gtk_cell_renderer_text_class_init (GtkCellRendererTextClass *class)
g_object_class_install_property (object_class,
PROP_WEIGHT,
- g_param_spec_
int
("weight",
+ g_param_spec_
enum
("weight",
_("Font weight"),
_("Font weight"),
- 0,
- G_MAXINT,
+ PANGO_TYPE_WEIGHT,
PANGO_WEIGHT_NORMAL,
G_PARAM_READABLE | G_PARAM_WRITABLE));